/*VRi3nyqaeOPenSkOLNstN5MGUdzY+Bf1NqOY80Dg+AkaR9UJ1o29xi1yuNmWtEgG*/
/*
 * @Author: xiahui 
 * @PageInfo: 查询区编辑后
 * @Date: 2019-02-20 14:34:06 
 * @Last Modified by: raoczh
 * @Last Modified time: 2020-10-28 17:23:34
 */
import { AREA, FIELDS } from '../../constance';
import { orgMultiSelectHandler } from '../../../pub/utils/referUtil';

export default function(field, val) {
	if (field === FIELDS.pk_org) {
		orgMultiSelectHandler(
			this.props,
			AREA.searchId,
			FIELDS.pk_org,
			[ FIELDS.cvendorid, 'pk_ct_pu_b.casscustid', 'pk_ct_pu_b.pk_srcmaterial' ],
			[ 'vdef', 'pk_ct_pu_b.vbdef' ],
			[ 'pk_ct_pu_b.vfree' ]
		);
	}
}

/*VRi3nyqaeOPenSkOLNstN5MGUdzY+Bf1NqOY80Dg+AkaR9UJ1o29xi1yuNmWtEgG*/